<template>
  <div>
    <router-link replace to="/">返回首页</router-link>
    <div @click = "addNum" style="width: 200px;background: #1989fa">点击添加</div>
    <div>{{this.$store.state.order.numReduce}}</div>
  </div>
</template>
<script>
export default {
  name: '404',
  methods: {
    addNum () {
      this.$store.order.dispatch('useAddOne')
    }
  }
}
</script>
